/**
 * Order.java
 * 
 * Copyright@2015 OVT Inc. All rights reserved. 
 * 
 * Dec 29, 2015
 */
package com.ovt.doorbell.payment.dao.vo;

/**
 * Order
 * 
 * @Author zhi.liu
 * @Version 1.0
 * @See 
 * @Since [OVT Cloud Platform]/[API] 1.0
 */
public class Order
{

    private String userId;
    
    private String orderNo;
    
    private float totalFee;
    
    private float refundFee;
    
    private int space;
    
    private int flow;
    
    private int month;
    
    private String createTime;
    
    public Order() {}
    
    public Order(OrderRequest orderRequest) 
    {
        this.userId = orderRequest.getUserId();
        this.space = orderRequest.getSpace();
        this.flow = orderRequest.getFlow();
        this.month = orderRequest.getMonth();
    }

    public String getOrderNo()
    {
        return orderNo;
    }

    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public float getTotalFee()
    {
        return totalFee;
    }

    public void setTotalFee(float totalFee)
    {
        this.totalFee = totalFee;
    }

    public int getSpace()
    {
        return space;
    }

    public void setSpace(int space)
    {
        this.space = space;
    }

    public int getFlow()
    {
        return flow;
    }

    public void setFlow(int flow)
    {
        this.flow = flow;
    }

    public int getMonth()
    {
        return month;
    }

    public void setMonth(int month)
    {
        this.month = month;
    }

    public String getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(String createTime)
    {
        this.createTime = createTime;
    }

    public float getRefundFee()
    {
        return refundFee;
    }

    public void setRefundFee(float refundFee)
    {
        this.refundFee = refundFee;
    }

    public String getUserId()
    {
        return userId;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }
}
